package cn.kgc.springboot.service;

import cn.kgc.springboot.entity.Role;
import cn.kgc.springboot.util.LayTable;
import cn.kgc.springboot.vo.RoleSelect;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface RoleService extends IService<Role> {

    List<RoleSelect> getRoleSelect();

    LayTable selectByPage(String name, Integer page, Integer limit);

    LayTable deleteRole(Integer[] ids);

    LayTable updateRoleAuth(Integer roleId, Integer[] authIds);
}
